package com.tms.project.tms.record.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tms.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tms.framework.aspectj.lang.annotation.Excel;
import com.tms.framework.web.domain.BaseEntity;

/**
 * 教师档案管理对象 tms_teacher_record
 *
 * @author xyl
 * @date 2021-03-22
 */
public class TeacherRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long teacherRecordId;

    /**
     * 档案编号
     */
    private String recordNumber;

    /**
     * 照片
     */
    private String picture;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String teacherName;

    /**
     * 工号
     */
    @Excel(name = "工号")
    private String teacherNumber;

    /**
     * 身份证号
     */
    private String idCard;

    /**
     * 性别
     */
    private String sex;

    /**
     * 生日
     */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date birthday;

    /**
     * 家庭住址
     */
    private String homeAddress;

    /**
     * 户籍
     */
    @Excel(name = "户籍")
    private String censusRegister;

    /**
     * 电话号码
     */
    @Excel(name = "电话号码")
    private String phoneNumber;

    /**
     * 紧急联系人
     */
    private String emergencyContact;

    /**
     * 关系
     */
    private String relationship;

    /**
     * 紧急联系电话
     */
    private String emergencyPhone;

    /**
     * 毕业院校
     */
    private String graduate;

    /**
     * 学历
     */
    @Excel(name = "学历")
    private String education;

    /**
     * 职务
     */
    @Excel(name = "职务")
    private String post;

    public Long getTeacherRecordId() {
        return teacherRecordId;
    }

    public void setTeacherRecordId(Long teacherRecordId) {
        this.teacherRecordId = teacherRecordId;
    }

    public void setRecordNumber(String recordNumber) {
        this.recordNumber = recordNumber;
    }

    public String getRecordNumber() {
        return recordNumber;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getPicture() {
        return picture;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherNumber(String teacherNumber) {
        this.teacherNumber = teacherNumber;
    }

    public String getTeacherNumber() {
        return teacherNumber;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSex() {
        return sex;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }

    public String getHomeAddress() {
        return homeAddress;
    }

    public void setCensusRegister(String censusRegister) {
        this.censusRegister = censusRegister;
    }

    public String getCensusRegister() {
        return censusRegister;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setEmergencyContact(String emergencyContact) {
        this.emergencyContact = emergencyContact;
    }

    public String getEmergencyContact() {
        return emergencyContact;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    public String getRelationship() {
        return relationship;
    }

    public void setEmergencyPhone(String emergencyPhone) {
        this.emergencyPhone = emergencyPhone;
    }

    public String getEmergencyPhone() {
        return emergencyPhone;
    }

    public void setGraduate(String graduate) {
        this.graduate = graduate;
    }

    public String getGraduate() {
        return graduate;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getEducation() {
        return education;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getPost() {
        return post;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("teacherRecordId", getTeacherRecordId())
                .append("recordNumber", getRecordNumber())
                .append("picture", getPicture())
                .append("teacherName", getTeacherName())
                .append("teacherNumber", getTeacherNumber())
                .append("idCard", getIdCard())
                .append("sex", getSex())
                .append("birthday", getBirthday())
                .append("homeAddress", getHomeAddress())
                .append("censusRegister", getCensusRegister())
                .append("phoneNumber", getPhoneNumber())
                .append("emergencyContact", getEmergencyContact())
                .append("relationship", getRelationship())
                .append("emergencyPhone", getEmergencyPhone())
                .append("graduate", getGraduate())
                .append("education", getEducation())
                .append("post", getPost())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .toString();
    }
}
